From: Chong Yidong Date: Fri, 20 Apr 2007 13:52:11 +0000 (+0000) Subject: (show-paren-function): Fix last fix. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~743 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=23d2ed8795b24235ede549ba5f47ab705e3ca8a7;p=emacs.git (show-paren-function): Fix last fix. --- diff --git a/lisp/paren.el b/lisp/paren.el index 17f0c401901..38ac150b402 100644 --- a/lisp/paren.el +++ b/lisp/paren.el @@ -253,7 +253,8 @@ in `show-paren-style' after `show-paren-delay' seconds of Emacs idle time." ;; force redisplay to recenter the window (since there is no ;; way for it to know that the overlay changes to the buffer ;; are harmless). So reset the window-start. - (set-window-start (selected-window) window-start)) + (unless (window-minibuffer-p) + (set-window-start (selected-window) window-start))) ;; show-paren-mode is nil in this buffer. (and show-paren-overlay (delete-overlay show-paren-overlay))